home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 24
/
AACD 24.iso
/
AACD
/
Online
/
Epic4
/
share
/
epic
/
help
/
6_functions
/
leftpc
< prev
next >
Wrap
Text File
|
2001-03-21
|
339b
|
16 lines
Synopsis:
$leftpc(<count> <text>)
Technical:
This function returns the leftmost <count> printable characters of <text>,
taking into account ANSI color codes.
Returns:
<count> number of printable characters in <text>
Examples:
$leftpc(10 onetwothre$chr(27)[34mefour)
returns
onetwothree<blue attribute>